#pragma once

class CVDP
{
	u8 vram[0x4000];
	u8 cram[64];
	u8 ctrlwritenum;
	u8 addrlatch;
	u32 addrreg;
	u8 regs[0x10];
public:
	CVDP();
	~CVDP();
	void Reset();
	u8 Read(u8 port);
	void Write(u8 port,u8 data);
};
